// 接收父组件传递的数据
export interface Player {
    player_id: string
    userid_platform: string
    player_name: string
    avatar: string
    team: string
    units: number
    score?: number
    sortValue: number
}

export interface Message {
    type: string
    player_id: string
    gift_count: number
    gift_point: number
    team: string
}

export interface Props {
    leftPlayer: Player[]
    rightPlayer: Player[]
    messages: Message[]
    pointPool: number
    winTeam: string
    visible: boolean
    leaderboardType?: string  // 'game' | 'season' | 'settlement'
    gameId?: number          // 游戏ID
    season?: number          // 赛季号
    anchorId?: string        // 主播ID
    redName: string
    redHpCurrent?: number    // 红队当前血量
    blueName: string
    blueHpCurrent?: number   // 蓝队当前血量
}